task ConfigureApache {
	evalFile("configure_apache.k");
	ApacheConf aconf = new ApacheConf(CONF_FILE);
	int maxclients = 100;
	//System.sleep(5);
	aconf.setMaxClients("mpm_worker_module", maxclients);
}
configure_apache(100)


task restart_web {
	evalFile("restart_apache.k");
	Apache.restart()
}

ActorGroup webg = [
	actor:192.168.0.204
]

bind webg configure_apache
bind webg restart_web

control configApache {
	configure_apache();
	restart_web();
}
